package com.Spring.autowire;

public class Car {
 private String brand;
 private double price;
 static {
  System.out.println("car开始初始化啦");
 }
public String getBrand() {
	return brand;
}
public void setBrand(String brand) {
	this.brand = brand;
}
public double getPrice() {
	return price;
}
public void setPrice(double price) {
	this.price = price;
}
@Override
public String toString() {
	return "Car [brand=" + brand + ", price=" + price + "]";
}

}
